package com.arvato.minipro.bean.bean_vo.user;

import java.util.Date;

import com.arvato.common.util.DateFormatUtil;

/**
 * Describe：返回给界面json的用户类
 * 
 * @author smallking
 *
 * @Date        2017年12月26日
 */
public class EcUserVo {
	/**
	 * 用户ID
	 */
	private String userId;
	/**
	 * 当前用户所在微信应用的openid
	 */
	private String wxOpenid;
	/**
	 * 当前用户在微信开放者平台的unionId
	 */
	private String wxUnionid;
	/**
	 * 微信应用的appid
	 */
	private String appid;
	/**
	 * 账号
	 */
	private String account;
	/**
	 * 登录密码
	 */
	private String password;
	/**
	 * 昵称
	 */
	private String nickname;
	/**
	 * 微信用户昵称的链接
	 */
	private String avatarUrl;
	/**
     * 电话
     */
    private String tel;
    /**
     * 邮箱
     */
    private String email;
    /**
     * qq号码
     */
    private String qq;
    /**
     * 微信号
     */
    private String wechat;
	/**
	 * 性别
	 */
	private Integer sex;
	/**
	 * 生日
	 */
	private Date brithday;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 备注
	 */
	private String note;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 最后操作时间
	 */
	private Date lastoperDate;
	/**
	 * 最后操作人
	 */
	private String lastoperUser;
	/**
	 * 最后操作类型
	 */
	private Integer lastoperType;
	/**
	 * 状态
	 */
	private Integer status;
	/**
	 * 标识符
	 */
	private boolean checked;
	/**
	 * 小程序用户此次登录对应的sessionKey
	 */
	private String sessionKey;
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getWxOpenid() {
		return wxOpenid;
	}

	public void setWxOpenid(String wxOpenid) {
		this.wxOpenid = wxOpenid;
	}

	public String getWxUnionid() {
		return wxUnionid;
	}

	public void setWxUnionid(String wxUnionid) {
		this.wxUnionid = wxUnionid;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}	
	
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatarUrl() {
		return avatarUrl;
	}

	public void setAvatarUrl(String avatarUrl) {
		this.avatarUrl = avatarUrl;
	}
	
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getBrithday() {
		return DateFormatUtil.date2Str(brithday);
	}

	public void setBrithday(Date brithday) {
		this.brithday = brithday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getCreateDate() {
		return DateFormatUtil.date2Str(createDate);
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getLastoperDate() {
		return DateFormatUtil.date2Str(lastoperDate);
	}

	public void setLastoperDate(Date lastoperDate) {
		this.lastoperDate = lastoperDate;
	}

	public String getLastoperUser() {
		return lastoperUser;
	}

	public void setLastoperUser(String lastoperUser) {
		this.lastoperUser = lastoperUser;
	}

	public Integer getLastoperType() {
		return lastoperType;
	}

	public void setLastoperType(Integer lastoperType) {
		this.lastoperType = lastoperType;
	}

	public Integer getStatus() {
		
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public EcUserVo(String userId) {
		this.userId = userId;
	}

	public EcUserVo() {

	}

	public String getSessionKey() {
		return sessionKey;
	}

	public void setSessionKey(String sessionKey) {
		this.sessionKey = sessionKey;
	}
	
}
